home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / teglp.zip / SAMPROGS.ZIP / SAMC0302.PAS < prev    next >
Pascal/Delphi Source File  |  1990-06-27  |  678b  |  43 lines

  1. {$F+}  { -- far code model is required for any functions that }
  2.        { -- are to be used as Event Handlers }
  3.  
  4. Uses
  5.     dos,
  6.     graph,
  7.  
  8.     virtmem,
  9.     fastgrph,
  10.     TEGLIntr,
  11.     TEGLICON,
  12.     TEGLGRPH,
  13.     TEGLUnit,
  14.     TEGLMenu,
  15.     SenseMs,
  16.     DebugUnt,
  17.     TEGLEasy;
  18.  
  19. { -- insert variables here }
  20.  
  21.  
  22. { -- insert procedures and functions here }
  23.  
  24.  
  25.  
  26. BEGIN
  27.  
  28.    EasyTEGL;
  29.  
  30.    { -- insert the example code here }
  31.    { -- press Ctrl-Break to exit program }
  32.    PushImage(1,1,100,100);
  33.    ShadowBox(1,1,100,100);
  34.  
  35.    WHILE Mouse_Buttons = 0 DO;
  36.    PopImage;
  37.  
  38.  
  39.    { -- control is then passed to the supervisor }
  40.  
  41.    TEGLSupervisor;
  42. END.
  43.